/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.core.directedit;

import org.eclipse.draw2d.IFigure;


/**
 * Interface for a controler that is used to associate a IFigure to model properties in a lightweight way.
 */
public interface ILabelControler {

	/**
	 * Returns the figure associated to this FigureControler.
	 * 
	 * @return the figure associated to this FigureControler
	 */
	public abstract IFigure getLabel();

	/**
	 * Returns the accessors associated to this FigureControler.
	 * 
	 * @return the accessors associated to this FigureControler
	 */
	public abstract PropertyAccessor getPropertyAccessor();

}